package operation;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2024-05-25
 * Time: 19:52
 */
public class DissBook implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("显示图书....");
        for (int i = 0; i < bookList.getEffnum(); i++) {
            System.out.println(bookList.getBooks(i));
        }
    }
}
